<?php
/**
 * Created by PhpStorm.
 * User: 69548
 * Date: 2018/7/23
 * Time: 17:50
 */

namespace app\api\controller;


use app\api\Controller\Base;
use app\api\model\City as C;
use think\Controller;



class Carousel extends Base
{

    public function index(){
        //获取城市模型
        $c=new C();
       $index= $c->index();
    return json_encode($index);
    }




}



